fix wrong method call causing stack overflow