fix the pwd