Not getting else if print out