added extension convert from xelement to contact