fix go declaration