fix exc bug