fix #920 make convert to class a linked mode not a refactoring