apply go fixes (#285)