finish delete news function