fix enum usage
avoid parsing color for default values (slow!)