fix on non-window