workarounds because microsoft sucks