fixing silly array error