fix logger reload