allow validation chain defined from config file
fixed various issues