fixed pname errors