Fix NET incompatibility