fix warning Interval previously declared as a struct