modified how things are opened to force preview