fix hours conversion bug, add better logging