fixed #1 ajax problem