fix bug with x color