check for nil confirm_url