cleaning up EntityProvider