fixed a bug with bright colors