fix warning: unused var