bugfix for slides sequence