unused var cleanup