catch those errors.