windows fixes, better example