adds correct field for location