better grepping for unless condition for openresty