fix the bug with apply color scheme