fixed using chartinfo when null