minor fixes, bitsteam zero padding added