Fix else condition