remove $index from callbacks