fixed an error in schematics