getHours fix