fix compatibility of monitor graphs with latest WPT version