Fixed broken function call