remove unused var in demo