tried to fix invalidity.