Update source xwiki to fix some bugs

fix bug  develop task #345,