recover some necessary code for hide contact infomation and add some contact infomation