fixed loading nan as number