fix ajax bug and finish ajax function
fix conflic
fix bug