fix error messages in layout.cc that print a 4-char tag