fixing costcode chart