fix go errors by removing try recur