catch those exceptions