fixed ajax call emergency