minor change in block change code