fixes some resulting colortable issues that fixing #640 caused