[fix] scope vars