fix staffs index