Fix for parsing metric values