Fixed Bad Exception Bug