Duplicate inputs and outputs

I try to create a custom node model. The problem is that the input and output ports are duplicated after reopening a saved file. I have already checked a topic about this issue. ( Dynamo 2.0 duplicates ports of custom node when file is saved and reopened? - #11 by olliegreen ). I tried changing the Newtonsoft Json version, but it is still does not working.

Anyone has an idea what should I do?
Thank you for your help in advance!