changed id to index in clients view