fixes rescue clause

fixes worker complaining about the rescue