bugfixed inflection helper