player: refactory on parentId handling