remove excessive variables