fixing media uploader