parse error at 4:6: can't use array "a" as scalar