removes unused var