fixed exception handlers
added ignore-errors