fixing some code in the original upload code
Merge pull request #3 from Tukaiz/fixing_upload_contacts

fixing some code in the original upload code
mergin codes