fix readDescriptors function to read all the descriptors.

  descriptorsSize -= descriptorsSize + 2; if you subtract it with descriptor size you will only skip the first descriptor.