weird problem when max program is open or closed

    Jun 05 2011 | 9:39 am
    Ive built a patch that lists/selects all the devices within the live set.
    Uses a dropdown to select device and then parameters for device.
    Works fine when i have the max program open. However, when I close the max program and try to use my device in live, it seems to knock all the device ID's out by a value of 1. for instance, when I select a flanger, it gives me the parameters of the compressor before it.
    Id really love to find out why this device behaves differently when I open it in max.
    Any help is much appreciated.