better error message for buffer finalizer