Fix input groups.