made array fixes