removes single-use variables