stupid VC2005+ workarroud