bugfix: unmount child should clear the parent