fix for old compile on vc6