added some debug code to see what real excep is