path to static file converted to relative instead of absolute