saving index
fixed merge conflict
 update tgncontroller