fixed uncollapse after delete
fixed bug when delete in preview