Fix weird way of calling a method

I don't know why I wrote it like this.