fixes issues with bgr stream import
* shovel '<<' operator apparently has higher precedence than the ternary,
* frozen string cannot be modified