optimize syntax and ui color