twinkling when create new window was fixxed