why my 1st condition not Satisfing??