fix logger order