Fixed bug with Ajax in Admin page