fixed rescue syntax