fix media storage
update
Merge pull request #799 from AndreiH/fix_media_storage

fix media storage