return DictEnv from bind
fix filtering with name
use correct variable name