Fixed add parents problem