fixed repeated ajax requested in the apiQueue