fixed metrics sever initialization