fixed ajax problem