fixed not.inf bug