fix server to upload