Fix bug that gls color option is wrong.