def remove_batch_management_id(doc):
    """
    removes all batch id from doc/token
    """
    if 'wms_job_id' in doc:
        del doc['wms_job_id']
    if 'cream_job_id' in doc:
        del doc['cream_job_id']
    if 'pbs_job_id' in doc:
        del doc['pbs_job_id']
