improve color handling
improve util