fix ftype=text