fixed bug regarding accessing of static files