default must be the last item in case statements
Merge pull request #1 from squarit/20140922-fix_case_ordering_issue

default must be the last item in case statements