linkTaskManagerChoice: fix variable names