updated the files and fixed some bugs related to split cards and unicode characters