fix because players ids not from 1 to n