bugfix index and pause slide