fix potentially hazardous floating point issue
actionBlock should be (copy)