fixing ajax url problem