fix format of case statement

I had to do this to make it compile for me