Fix metrics exec