finalizing document properties (WIP)