fix syntax problem on arrays