Fixed invalid function arg