Fixed invalid function call