fix bugs, optimize Color-Change speed