fixed bug regarding plotting of master/slave devices