fix natviecpp