fixed some arrays