fixed bug in del_heart