corrections in schema generation