fix wrong condition