Fixed NULL supporitng for parent attribute