bug fix, upload B not working