catch errors when we dont have data