fixed issues in interval for intervals > 23rd