fixes #528 Co-authored-by: Hugh Lunt <hugh.lunt@itv.com> Co-authored-by: Hugh Lunt <hugh.lunt@itv.com>