Bugfix for spotiy duration