OMZ does not work on conditional checking