minor doc fix.
minor improvement of label generation.