fixed bug by writing own ColorConverter class