fixed blockdelete()