FIX: undo after implementation of openDoc