bug fix in vApp upload code