fix warning about malformed case statement