fixed RPT spam WARNING: Function 'name'