fixed potential shortName bug