adding case and catch to keywords with spaces after them