hdcast fix thanks to L2501