Fix invalid exception handling