add semicolon after some statements