Cleanup media flag size