bugfix for VS