fixed recursive resolves,added copy_class (proxy handling)