fix case statement, stupid semicolons