fixed case statements

@dgearhart good catch.