fixed bug with tape length less than "pause before end" seconds