Fix cdup issue