bug AjAX fixed