added 1 yr and RTH flag check