fix bugs in CError