changed delete notice to error