fix: looking for numeric variables while not keeping trailing spaces