remove var_filter stuff. Not needed and dangerous. Fixes #1049