flatten character lists to make last commit work