Fix load esp module when running stand-alone