fix media and plupload download