array was not expanded in js....