fix parentName + code