add cleaner error message for interval error