fix config parameters, preprocess view