ffap line handling