minor fix: remove unused block variable