fix a mistack of transformation