Fixed error handling of CTCP module