Remove used variables