Sast error: function avg_row not defined
