fixed line check conditions