fixed wrong method syntax