fix an issue where the metrics don't calculate the maximum bitrate wasn't calculated right