fix for media uploader bug