add units to blocks
fix for serialization