changes [...] to array(...)