strip double-spaces from terms in tags
fix a template error on create dataset