Fixed getName issue with schematics