add guards to avoid account swap.