fix config processing
fix config
add the data filtering stuff