cleanup source code and built on VC6