fixed error excepting