Removes unncessary var