Fixing NAN.