fix some bugs that account operations in Settings