fix systemid typo and correct logic when adding a child channel to a machine