fixed broken scope of bit fields
v0.5.2