fix small issue
finished xml configured primitives injection