Fix wrong method being used