Fixes a catch statement