fixed color picker template and some linting issues