Avoid NaN
rescue and warn log
debug log