fixed get number of channels problem..