fix getChild when jpath is 'element'