add current location attribute