Fix critical bug (split array)