avoid redifining pwd