bug fixes

solved bug occuring when changing to a device with a different amount of
channels