fix syntax error on array creation