fixed a bug where create package schema calling functions that were
removed