fix ctcp logger