fix HAPROXY check