correcting array base