fixes for printing keys aligned
doc update