fixed exception not being imported, removed cruft