Fixed a small glitch in fixName