fixed the fix function
naming conventions
removed unused code, added missing ids
Merge pull request #19 from ajstanley/collation_editor

fixed the fix function