Fixes document versions