fix exception catching