fixed bug in name mangling