delete trailing semicolon