Fix bug in cichart