fix regression in loadSchemas
override special case of regenConfig in users instead of branching the code
fixed treview precondition