fixed with_url and with_filename