add ffap support