make sure account!=nil when adding