fixed duration bug