Fix wrong function call (infinite recursion)