ideally

(adverb)

adverb

1. in an ideal manner

- ideally, this will remove all problems