transofrmation erro handling