fixed unused var