fix logger sync that causes a crush