handle execptions after transformation