Remove windows alert when error