fix accountFromCursor bug