Categorie class was fetching an object even if no param passed