fixed pwd error