replace WB_URL and sanitize_PATH