added missing rewind