fixed call_user_func_array to pass array args for randomElement|s