Hotfix for location widget - return arrayref

* #1871