duration bug