Fixed ftype header bug