fixed error for static files