Forgot to set index in some callbacks