reference pwd correctly