fix pwd command