UCRLinker: fix nested class bug