Fix STO deleteafterblock