bugfix for MSVS11