fix restified array