[BUGFIX] Fix missing parameter which causes the child element not to be appended.