fixing ajax