fixed issue with _parent variable on arrays