fix for media uploader bug
Merge branch '1.2' of https://github.com/pagelines/DMS into 1.2