Fix erronous function call introduced in the previous commit