windows: fix prev