fixing get/set block handling