Fixes selected window
ups version