caught a few exceptions