make the redirect DRY