my fixed version of buildhx