add semi-colons to trailing attributes