fix ffap directory