Url issue

Fix the bug for important sub-metrics
line 354 is Equivalent to
if sub_metric in self.calculated_stats