Fix the bug in the reoad removal function.