Fix cell array allocation