fix logger stages