fixed haproxy condition