[fix] added 1 = to the main condition