bugfix: missing root element for other datastores, wrong redirect after changing datastore, fixes #7