fixed to loop only array