corrections to custom haproxy