simplified version because setting a color to empty doesn't clear a pattern