fixing unused var