fix user tagging from command line

pulled out the bugfix from #901