gotos in switch statement are broken