Fixed destroy signal and fixed window id