typo fix and return missing go statement