fix bug about transform error