Why error on commit transaction