improve failure message