Correct the possible errors from filter 2, 3 and 4