bab restore removed unused flag