Remove the default else. This was ending in code that looked like this: