catch errors on screenshot