erase, added error message on block creation error