bug fix for web upload /download