fixed  wrong condition form $classifier