fixed issue with schema creation script