Fix ajax frequency