pubid-editing works, error handling subpar