coding lib+exe. fix in exceptions.