fix dir error of haproxy