add semicolons to item macros