Fixed account bugs.