Why "undefined NaN" text is showing up?