merge fix for documents page