added redirects to prevent error messages