bugfix for win8.1