parse error at 6:21: can't pass scalar "j" as array param