// only replace base path