solve all thing about ajax.(resolve some bug)