fixed a huge bug - incorrectly classifying registration failed problem to oracle problem.