adding possible fix to color target function