Remove extra space before semicolon