Fix generation of ftf because