fixed bug in wiki.api