Fix wrong method usage