minor fix exception handling, but should also allow more verbose mode