make open last edited doc work again