fixed bug for delete section