fixed a bug in colors example