[FIX] fix several bugs and now can see dos CLI.