Fixed the account insertion bug.