Fixed metrics page not loading properly