minor improvement to users plugin