delete references & modified logs