incorrect condition fix