semantic: Remove goto usage.