fix console monitor on Win7