change scaffolding, fix types global, change index