fixed an out of range error

doesn't throw an out of range error if the user hasn't declared(or none active) players.