Fixed a bug with schema creation command