changes for spelling and encoding