small change to ajax