fixed nitepy.dll and infinite loop