fixing loggers and other stuffs