fix NaN bug, missing param on fn.apply