fix hwh-2 fg(x) to (fg)(x)