fix for color errors