fix some error related to redirection