Fix errors on BaseCrudService