removes a stray extra declaration of a var