catch more exceptions during fetch
little cleanup: let instead of def