colortablesize needs to be an int