fixed bug regarding serving html in prod