more fixes to convert to cell araay variables