enable clearing of server documents, also store correctly