fixes fallthrough in switch statement

If all cases do the same thing, no need to repeat the statement