fix issue with wrong method.