fix wrong index
Use <remote>.<model> as id