bug fix on parent slot