Delete useless error window