Repair hidden recursion and undefined… — Code review | OneNoughtOne