fix concurrency ajax