fixed patcher hash verify before write