now works with most exceptions, but not one really super weird one...fixing now..