remove original illegal values