uploads almost working with exception