array fixes
fixing arrays