more robustness in getPlayerIn and getPlayerOut