fixed expired media error
Merge pull request #670 from shopgirl284/historyfix

fixed expired media error