fix pwd