fix extra warning
remove unused var