add defensive semi-colons