remove a few variables that are used only once.