fixed compile error with using an invalid color symbol.