syntax and logic fixes
adding local metric set to each server