fixed bug that gave the wrong name to schema loaded from a non-default directory