Fixed parrent delete bug
Small refactor