fix for some instances of undefined terms