further fixes to array