fix for OnPlayerConnect event