prevent error message when cdup dir not exist