cast location.id to string