Fix for media uploader