fixed ajax request invalidation