replace 1.0 to None.