fix type `NaT`
if type int or float return this or str