remove unused variables from setup