fix convert command to take initial balance into account.