fix upload (with the code)