remove trailing semicolon pragma