Fix for player->CID
Fix for log file