repaired Ajax mechanism error.