fix location redirect (was pointing to local namespace)