fix: variable detection