fix init_logger call