I have removed the hooks hook_redirect_prepare() and hook_redirect_validate()...