Bitsream conv fix part#2

Second part of the patch for issue #65