set compile to true on production