fixing max color vals spillover closes #257