fix overlays and media profiles

You could probably remove the overlay change from gerrit with this change