fix bug: transformation editor crashes when there is no transformation