trying to catch errors in LocalArrayReader