remove unecessary or condition