throw error when player is included in document directly + minor corrections