put codes in upload but still error in uploading to