fix random ip when year less than 1970