[bugfix] instantiated native classes resolve into invalid names