cs fixes
add index to name field