bugfix for incorrect start hour