fixing development mode issue