correction for retrieval of secure document