fix media sync