use Views.iterable instead of a dangerous cast
this should be much safer, thanks to @ctrueden foir the tip.