fixed bugs according to go install