fix exit with colib