FIX: missed to calculate the hours for a duration