fix unused var warning.