cleanup in api wikibase