fixes for VC6