Fixes metrics data path issue