fix empty catch block