fix upload bug :)