Fixed canRedirect