Fix errors: 1. build from console. 2.  Blank Cmd.