Fixed catch statement