added player name check for isaccessible