fix for asset precomiplation error in production