cleaning up metrics and share items