Fix mistake in slide code