fix namespace and fetch key in tradesman