update check for controller to allow for redirects without an error