[google-define] simplify garbage cleanup