fixed redirection status code