finish playerview functions