fix wrong method