fixing global Interval problem