Fix crash because of missing method parameters