fix go compile warning