bugfix for VS2008