(#739) - remove complicated not used code from bulk_docs