Fix $parent variable name error

Playing around with new editors is dangerous!