fix make_array (add common type version)