avoid dependencies in disposal