remove reduntant .toVector