fixed syntax issue (catch statement)