fix definition ordering for as-url to report failures in a copy + paste format