handle errors when processing rows
add dictors to doctrines