Fix value type