[core] fix detecting player in core level