fixed ajax problem with part one