bugfix for file url