fixing wrong method reference