fixes #2386 - permission failure on create_lookup_value
re-fixes #2549 - default location bug was introduced in commit 66afbc33 that is fixed