fix NAN value for calc hours