BugFix reference
BugFix parseJSON
Refactor rename vars