clean up unused variables