get rid of an useless local variable