Removed some unused var statements