catch reader errors as well