Remove unused and nonexisting var