made failed mode work better