fixed crash routine and added retry to URLfetch