Fix memory error
Fix combiner for ndarray