catch errors better
start to catch errors