modify contentWD for compatibility with production server.