Removed constant from target indices (bug)