Fix catch statement