Fix wrong function call