minor fix to goto