Fix Invalid Array Error for Intial Installs