An extra comma was being added after the control sequences An empty color control sequence was not handled. It is supposed to remove all color schemes.