fix namespaced locks