clean_invalid must be set at the same time, and call clean_invalid, or call clean/invalid
Signed-off-by: ZYH <lymz@foxmail.com>