adjust ajax status