bugfix: .ctw not generated properly