removed unused var from handler