fixed duration set at end of setup bug