fixed NullPointer in Transform.class