fix media for mobile