cleaning up names in theory chapter files