avoid uncaught exceptions..