Why my two condition's are notpassing????