Possible solution for the redirect