fixed NaN on startup