set compile=true for production