fix logs issue