wrong generation url for local file