Fix ajax call avoider