capture correct vol value in closure