remove leftover variables