debug: refactor local path local var