add to clear isError5 flag.