fix bugs for cnode image