fixing local_array_macro