more fixes to schema registration