allow up to 9 parameteres, and fix linkrig to allow separate kg channel on param 4