remove trailing ;