fixed typos. Need to fix logg and teff cut logic