fixed a bug in wallajax;