fixed deleting children