Workaround for workbench not assigning location parameter
Fix errors when context in None