Fix in the ajax call for get the entities bundles