fixing single_url bug