Fix bug in createWiki

Fix bug in createWiki.