Reverted back to old version of one file code after messy git mistake.