casing fixes to load media section