resource deleted listener