Fixed a bug that caused a crash when there was no schema
Fixed