catch exceptions a little bit better....