[fixed] incoreect creation of temporary indexes