fix a bug in create_tu