Fix missing data bug & media style
Merge pull request #2 from Alex9179/functions

Fix missing data bug & media style