before delete warehouser