Fix wrong unit array deepness crash