Fixed Completion window close Issue