finding prev window is still buggy