unselet before selection of polygon related to a safety
added get of API URL to correct build safety to upload