fixed server ajax call