Fixed switch-statement.