if location is undefined, replaced with null in the contactable's transform