fix colorsapce check
Merge pull request #653 from volvet/fix_colorspace_check

fix colorsapce check