fixed error in exception