change check condition