color undefined bug