fix respec deprecation of stub method