fix cfuntion color