improving failure message