added function call for _checkManageMedia