cleanup of openBook