try to fix error with color when no factor vars