handle slave port variables.