Fixed last NameError but am running into another one with KeySpaceConstrainedParams