fix media objects