typos

Bugfix for my previous bugfix (error in example, crashing on infinite scroll when offline)