bug fixed (interval)