fix metric show bug