minor removal of unused var