refactor: fixed state foo in account

* * *

This commit was sponsored by Toptal, a network of senior developers
who work with leading companies and teams across the globe. If you’re
looking to take your freelance work up a notch, check them out.

http://goo.gl/MtjLLA