Removed a tmp dir, unused var