Making strings consistent